package cn.com.surker.lab.entity;

import cn.com.surker.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 工控机配合比日志
 * </p>
 *
 * @author admin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lab_level_material_log")
public class MaterialRateLog extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 标识
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 站点id
	 */
	private Long orgId;

	/**
	 * 生产线ID
	 */
	private Long lineId;

	/**
	 * 标号id
	 */
	private Long strengthId;

	/**
	 * 材料分类
	 */
	private Long materialType;

	/**
	 * 工控仓位id
	 */
	private Long storageId;

	/**
	 * 用量
	 */
	private Double value;

	/**
	 * 历史数据
	 */
	private String oldData;

	/**
	 * 变动时间
	 */
	private Date changeTime;

	/**
	 * 关联的配合比表id
	 */
	private Long linkId;


}
